package com.fusetech.flow.audit.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fusetech.os.core.domain.FlowBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 当前审核表Entity
 * @author Liuwq
 * @version 2023-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("current_audit_node")
public class CurrentAuditNode extends FlowBaseEntity {

	private static final long serialVersionUID = 1L;

	/**
     * 下个节点
     */
    @TableField("next_node")
	private String nextNodeId;
	/**
     * 下个节点步骤数
     */
	private String nextNodeNum;
	/**
     * 节点
     */
    @TableField("audit_node")
	private String auditNodeId;
	/**
     * 节点ID
     */
	private String nodeId;
	/**
     * 配置审核主流程
     */
    @TableField("audit_process")
	private String auditProcessId;
	/**
     * 文档名称
     */
	private String document;
	/**
     * document_id
     */
	private String documentId;
	/**
     * 文档类型（进入审核流程的文档类型即from_type,目前只能做成字典中）
     */
	private String documentType;
	/**
	 * 组织机构Id
	 */
	@TableField(value = "org",fill = FieldFill.INSERT_UPDATE)
	//@MetaObjectFill(column = "orgId",metaType = FillMetaType.OrgId)
	private String orgId;
	/**
	 * 部门Id
	 */
	@TableField(value="office",fill = FieldFill.INSERT_UPDATE)
	//@MetaObjectFill(column = "office",metaType = FillMetaType.OfficeId)
	private String officeId;
	/**
	 * 职务Id
	 */
	@TableField(value="post",fill = FieldFill.INSERT_UPDATE)
	//@MetaObjectFill(column = "post",metaType = FillMetaType.PostId)
	private String postId;
}
